Skip to content

Conversation

@lukeapage
Copy link

Summary

onClone is returned to a promise, so returning a promise already works, but the type is void. Typescript does not error returning a promise today, but sonar qube does find a "bug" because it thinks you return a promise where you shouldn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant